//
//  JLTradeData.h
//  JLSDK
//
//  Created by LZ on 2018/7/31.
//  Copyright © 2018年 JLPAY. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger,JLCardModel){
    
    JLCardModelICC          = 0, //芯片卡插卡
    JLCardModelPlayIcc      = 1, //挥卡
    JLCardModelMagneticCard = 2, //磁条卡
};

@interface JLTradeData : NSObject

//刷卡方式
@property (nonatomic, assign) JLCardModel cardModel;
//交易账户
@property (nonatomic, copy) NSString *card_no;
//交易金额 以分为单位
@property (nonatomic, copy) NSString *amount;
//卡有效期，MMDD
@property (nonatomic, copy) NSString *expired_date;
//卡片序列号
@property (nonatomic, copy) NSString *ic_card_seq_no;
//IC卡数据域
@property (nonatomic, copy) NSString *ic_card_data;
//2磁道数据（2磁道加密后的数据）
@property (nonatomic, copy) NSString *track2;
//3磁道数据（3磁道加密后的数据）
@property (nonatomic, copy) NSString *track3;
//pin
@property (nonatomic, copy) NSString *pin;
//终端类型
@property (nonatomic, copy) NSString *term_device_type;
//终端序列号
@property (nonatomic, copy) NSString *term_device_serial_no;
//加密随机因子
@property (nonatomic, copy) NSString *term_encrypt_random;
//硬件序列号密文数据
@property (nonatomic, copy) NSString *term_serial_encrypt_data;
//应用程序版本号
@property (nonatomic, copy) NSString *term_app_version;
//外卡交易标识。JLW/JLD
@property (nonatomic, copy) NSString *exter_card_flag;
//app 自定义字段
@property (nonatomic, copy) NSString *app_define_data;


@end
